package com.example.tianling.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "videos")
public class VideosEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    private String subtitle;

    private String description;

    private Integer viewCount;

    private Date timestamp;

    private String image;

    private String video;

    private Integer ranks;

}
